<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:53946/BidService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" />
  <xs:import schemaLocation="http://localhost:53946/BidService.svc?xsd=xsd5" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost:53946/BidService.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/System.Web.Mvc" />
  <xs:import schemaLocation="http://localhost:53946/BidService.svc?xsd=xsd9" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM.ViewModel" />
  <xs:element name="SelectBid">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q1:Bid" />
        <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="includeSubObjectString" nillable="true" type="q2:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidResult" nillable="true" type="q3:ArrayOfBid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBid">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q4:Bid" />
        <xs:element minOccurs="0" name="createByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="InsertBidResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBid">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q5:Bid" />
        <xs:element minOccurs="0" name="updateByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBid">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
        <xs:element minOccurs="0" name="deleteByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q6:Bidder" />
        <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="includeSubObjectString" nillable="true" type="q7:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderResult" nillable="true" type="q8:ArrayOfBidder" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q9:Bidder" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/System.Web.Mvc" minOccurs="0" name="SelectListBidderResult" nillable="true" type="q10:ArrayOfSelectListItem" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q11:Bidder" />
        <xs:element minOccurs="0" name="createByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="InsertBidderResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q12:Bidder" />
        <xs:element minOccurs="0" name="updateByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidder">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
        <xs:element minOccurs="0" name="deleteByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidderResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderCollateral">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q13:BidderCollateral" />
        <xs:element xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="includeSubObjectString" nillable="true" type="q14:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderCollateralResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderCollateralResult" nillable="true" type="q15:ArrayOfBidderCollateral" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderCollateral">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q16:BidderCollateral" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderCollateralResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/System.Web.Mvc" minOccurs="0" name="SelectListBidderCollateralResult" nillable="true" type="q17:ArrayOfSelectListItem" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderCollateralGuarantee">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dateReturn" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="ColStatusId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderCollateralGuaranteeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderCollateralGuaranteeResult" nillable="true" type="q18:ArrayOfGuarateeContract" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderCollateralGuarantee">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dateReturn" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="ColStatusId" type="xs:int" />
        <xs:element minOccurs="0" name="Id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderCollateralGuaranteeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectListBidderCollateralGuaranteeResult" nillable="true" type="q19:ArrayOfGuarateeContract" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderCollateralGuaranteeName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dateReturn" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="ColStatusId" type="xs:int" />
        <xs:element minOccurs="0" name="Id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderCollateralGuaranteeNameResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderCollateralGuaranteeNameResult" nillable="true" type="q20:ArrayOfGuarateeContract" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidderCollateral">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q21:BidderCollateral" />
        <xs:element minOccurs="0" name="createByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidderCollateralResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="InsertBidderCollateralResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderCollateral">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q22:BidderCollateral" />
        <xs:element minOccurs="0" name="updateByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderCollateralResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderCollateralGuarantee">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Id" type="xs:int" />
        <xs:element minOccurs="0" name="StatusBidder" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderCollateralGuaranteeResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidderCollateral">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
        <xs:element minOccurs="0" name="deleteByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidderCollateralResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderQuotation">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q23:BidderQuotation" />
        <xs:element xmlns:q24="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="includeSubObjectString" nillable="true" type="q24:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderQuotationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderQuotationResult" nillable="true" type="q25:ArrayOfBidderQuotation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderQuotation">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="criteriaModel" nillable="true" type="q26:BidderQuotation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectListBidderQuotationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/System.Web.Mvc" minOccurs="0" name="SelectListBidderQuotationResult" nillable="true" type="q27:ArrayOfSelectListItem" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderQuotationForSelection">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="BidId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderQuotationForSelectionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderQuotationForSelectionResult" nillable="true" type="q28:ArrayOfBidderQuotation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidderQuotation">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q29:BidderQuotation" />
        <xs:element minOccurs="0" name="createByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertBidderQuotationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="InsertBidderQuotationResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderQuotation">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="model" nillable="true" type="q30:BidderQuotation" />
        <xs:element minOccurs="0" name="updateByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateBidderQuotationResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidderQuotation">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
        <xs:element minOccurs="0" name="deleteByUserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteBidderQuotationResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="SumQuantity">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="bidderQuoId" type="xs:int" />
        <xs:element minOccurs="0" name="PoInstallId" nillable="true" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SumQuantityResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SumQuantityResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SumAmount">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="bidderQuoId" type="xs:int" />
        <xs:element minOccurs="0" name="PoInstallId" nillable="true" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SumAmountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SumAmountResult" type="xs:decimal" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderQuotationWithRemainQty">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="BidderId" type="xs:int" />
        <xs:element minOccurs="0" name="PoInstallId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SelectBidderQuotationWithRemainQtyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" minOccurs="0" name="SelectBidderQuotationWithRemainQtyResult" nillable="true" type="q31:ArrayOfBidderQuotation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="BidId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveNameResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ApproveNameResult" nillable="true" type="q32:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="OfferReport">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="BidId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="OfferReportResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q33="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="OfferReportResult" nillable="true" type="q33:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CollateralReport">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="EndDate" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CollateralReportResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM.ViewModel" minOccurs="0" name="CollateralReportResult" nillable="true" type="q34:ArrayOfReportCollateral" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>